package components;

import org.newdawn.slick.Image;



/** This class defines a Block, which is used for the playground
 *	It extends from the Field class
 */

public class Block extends Field{

	/**Generates the normal used Block
	 * 
	 * @param position The coordinates of this Block
	 * @param destroy Is true if Block can be destroyed by a bomb
	 * @param move	Is true if Block can be moved
	 * @param walk Is True if Player can walk over the Block
	 * @param img Is the Image of this Block
	 */
	public Block(float[] position, boolean destroy, boolean move, boolean walk,
			Image img) {

		super(position, destroy, move, walk, img, "block");
		this.item=null;
	}
	
	/**Generates a customized Block
	 * 
	 * @param position The coordinates of this Block
	 * @param destroy Is true if Block can be destroyed by a bomb
	 * @param move	Is true if Block can be moved
	 * @param walk Is True if Player can walk over the Block
	 * @param img Is the Image of this Block
	 * @param typ Specifies the Type of this Block
	 */
	public Block(float[] position, boolean destroy, boolean move, boolean walk,
			Image img, String typ) {

		super(position, destroy, move, walk, img, typ);
		this.item=null;
	}
	
	/**
	 * Deletes the Block if necessary
	 */
	public void delete(){
		
		
	}

}
